package com.averyday.demo.tuling.jvm;

public class TestDynamicLoad {
    static {
        System.out.println(" load TestDynamicLoad");
    }

    public static void main(String[] args) {
        new A();
        B b = null;

    }
}

class A {
    static {
        System.out.println("*************load A************");
    }

    public A() {
        System.out.println("initial A");
    }
}


class B {
    static {
        System.out.println("*************load B************");
    }

    public B() {
        System.out.println("initial B");
    }
}




